package com.yjd.comm.borrow.dto;

import java.io.Serializable;

/**
 * <b>description</b>：（债权转让）债权价值 折让后的年利率 <br>
 * <b>time</b>：2014-12-2下午2:54:12 <br>
 * <b>author</b>： ready likun_557@163.com
 */
public class CreditorTransferCounterDto implements Serializable {

	/**
	 * @Fields serialVersionUID
	 */
	private static final long serialVersionUID = 1L;

	// 债权公允价值
	private double creditorValue;
	// 购买价格
	private double creditorBuyPrice;
	// 类型，1.当期处于未还款状态 2.当期已还 下期未还 3.当期且下面N期已还，但未还清
	private int creditorType;
	// 计算补偿天数
	private int interestDays;
	// 计算之后的利率
	private double apr;
	// 债权剩余天数
	private int creditorDaysSurplus;
	//折让金
	private double discount;

	public CreditorTransferCounterDto() {
	}

	public CreditorTransferCounterDto(double creditorValue,
			double creditorBuyPrice, int creditorType, int interestDays,
			double apr, int creditorDaysSurplus,double discount) {
		this.creditorValue = creditorValue;
		this.creditorBuyPrice = creditorBuyPrice;
		this.creditorType = creditorType;
		this.interestDays = interestDays;
		this.apr = apr;
		this.creditorDaysSurplus = creditorDaysSurplus;
		this.discount = discount;
	}

	public double getCreditorValue() {
		return creditorValue;
	}

	public void setCreditorValue(double creditorValue) {
		this.creditorValue = creditorValue;
	}

	public double getCreditorBuyPrice() {
		return creditorBuyPrice;
	}

	public void setCreditorBuyPrice(double creditorBuyPrice) {
		this.creditorBuyPrice = creditorBuyPrice;
	}

	public int getCreditorType() {
		return creditorType;
	}

	public void setCreditorType(int creditorType) {
		this.creditorType = creditorType;
	}

	public int getInterestDays() {
		return interestDays;
	}

	public void setInterestDays(int interestDays) {
		this.interestDays = interestDays;
	}

	public double getApr() {
		return apr;
	}

	public void setApr(double apr) {
		this.apr = apr;
	}

	public int getCreditorDaysSurplus() {
		return creditorDaysSurplus;
	}

	public void setCreditorDaysSurplus(int creditorDaysSurplus) {
		this.creditorDaysSurplus = creditorDaysSurplus;
	}

	public double getDiscount() {
		return discount;
	}

	public void setDiscount(double discount) {
		this.discount = discount;
	}
	
}
